<ui:composition template="/templates/template_inicio.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:composite="http://java.sun.com/jsf/composite">

	<ui:define name="titulo">
		<h:outputText value="Restaurante - Login" />
	</ui:define>

	<ui:define name="comandos">
		<h:panelGrid columns="5">
				
		</h:panelGrid>
	</ui:define>

	<ui:define name="conteudo">

		<center>
			<p:fieldset style="width:30%;" legend="#{loginFaces.titulo}">
				<h:panelGrid columns="2">
					<h:outputLabel value="Login" for="input-nome" />
					<h:inputText value="#{loginFaces.login}" id="input-nome" />
	
	
					<h:outputLabel value="Senha" for="input-senha" />
					<h:inputSecret value="#{loginFaces.senha}" id="input-senha" />
				</h:panelGrid>
				<br />
	
				<p:commandButton value="login" action="#{loginFaces.logar}" />
			</p:fieldset>
	    </center>
	</ui:define>
	
</ui:composition>